www.gusucode.com > VC 颜色调节程序 > VC 颜色调节程序/gusucode/MyStatic.cpp
//Download by http://www.NewXing.com // MyStatic.cpp : implementation file // #include "stdafx.h" #include "MixColor.h" #include "MyStatic.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CMyStatic CMyStatic::CMyStatic() { } CMyStatic::~CMyStatic() { } BEGIN_MESSAGE_MAP(CMyStatic, CStatic) //{{AFX_MSG_MAP(CMyStatic) ON_WM_PAINT() //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // CMyStatic message handlers void CMyStatic::OnPaint() { CPaintDC dc(this); // device context for painting // TODO: Add your message handler code here // Do not call CStatic::OnPaint() for painting messages }